package vip.indo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import vip.indo.common.JsonResult;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: tianlianyin
 * @Date: 2024/11/28 14:13
 * @Descripition:
 */
@RestController
@RequestMapping("/aop")
public class AopController {
    @GetMapping("/{name}")
    public JsonResult testAop(@PathVariable String name){
        Map<String,Object> map=new HashMap<>();
        map.put("name",name);
        return JsonResult.success(map);
    }
}
